﻿@model IEnumerable<LeadMaster.Models.CallCentres>


<p>
    @Html.ActionLink("Add Call Centre", "Create")
</p>
<table  class="listtable contactstable" cellspacing="0" cellpadding="0">
<thead>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.CallCentre)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Contact1)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Contact2)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Contact3)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Email1)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Email2)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Email3)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.ccsuffix)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.active)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.LogOn)
        </th>

        <th></th>
    </tr>
</thead>
@foreach (var item in Model) {
    <tr>
        <td  align="left">
            <label>
            @item.CallCentre
            </label>
        </td>
        <td>
            <label>
            @item.Contact1
            </label>
        </td>
        <td>
            <label>
            @item.Contact2
            </label>
        </td>
        <td>
            <label>
            @item.Contact3
            </label>
        </td>
        <td>
            <label>
            @item.Email1
            </label>
        </td>
        <td>
            <label>
            @item.Email2
            </label>
        </td>
        <td>
            <label>
            @item.Email3
            </label>
        </td>
        <td>
            <label>
            @item.ccsuffix
            </label>
        </td>
        <td>
            <label>
            @item.active
            </label>
        </td>
        <td>
            <label>
            @item.LogOn
            </label>
        </td>
        <td>
            <label>
            @Html.ActionLink("Edit", "Edit", new { id=item.CallCentreID  }) |
            @Html.ActionLink("Details", "Details", new { id = item.CallCentreID }) |
            @Html.ActionLink("Delete", "Delete", new { id = item.CallCentreID })
            </label>
        </td>
    </tr>
}

</table>
